package com.qf.service.impl;

import com.qf.mapper.AdminMapper;
import com.qf.pojo.Admin;
import com.qf.service.AdminService;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 作者：冯国清
 * 项目名：com.qf.service.impl
 * 时间：2020/7/30 19:51
 * 描述:
 */
@Service
public class AdminServiceImpl implements AdminService {
    @Resource
    private AdminMapper adminMapper;
    @Override
    public Admin login(@Param("username") String username,@Param("password") String password) {
        return adminMapper.login(username,password);
    }
}
